WCGQL\Helpers\Variation A

Total Complexity 56
Dependencies 6
Dependents 3
Total lines 300
Lines of code 228
Logical lines of code 126
Comment lines 5
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
translateAttributeValue()
S
58 6 14
getAvailableOptions()
S
53 5 22
get_variation()
S
58 5 16
search()
S
57 4 16
checkIfVariationValidForCurrentSelection()
S
61 4 12
prepareAvailableOptionsResponse()
S
52 3 25
baseAvailableOptionsStructure()
S
56 3 19
removeSelectedAttibutes()
S
62 4 10
getVariationPrice()
S
63 4 10
productVariationData()
S
54 2 21
setVariationAttributeValueInStockStatus()
S
64 3 9
createKeyValuePairsCoveringEncodingCases()
S
65 3 9
setInStockAsTrue()
S
63 3 9
textEncodingCases()
S
62 2 12
createOptionsEncodingCases()
S
63 2 10
getAllPossibleOptionsValues()
S
65 2 9
checkIfVariationMatchSelection()
S
71 1 5